package com.shu.weight;

public class Food {
	private String name;
	
	private String type;
	
	private Integer weight;
	
	private Double calorie;
	
	private Double fat;
	
	private Double carbohydrate;
	
	private Double protein;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Double getCalorie() {
		return calorie;
	}

	public void setCalorie(Double calorie) {
		this.calorie = calorie;
	}

	public Double getFat() {
		return fat;
	}

	public void setFat(Double fat) {
		this.fat = fat;
	}

	public Double getCarbohydrate() {
		return carbohydrate;
	}

	public void setCarbohydrate(Double carbohydrate) {
		this.carbohydrate = carbohydrate;
	}

	public Double getProtein() {
		return protein;
	}

	public void setProtein(Double protein) {
		this.protein = protein;
	}
	
	public Food() {
		super();
	}

	
	public Food( String type,String name, Integer weight, Double calorie, Double fat, Double carbohydrate,
			Double protein) {
		super();
		this.name = name;
		this.type = type;
		this.weight = weight;
		this.calorie = calorie;
		this.fat = fat;
		this.carbohydrate = carbohydrate;
		this.protein = protein;
	}

	@Override
	public String toString() {
		return "Food [name=" + name + ", type=" + type + ", weight=" + weight + ", calorie=" + calorie + ", fat=" + fat
				+ ", carbohydrate=" + carbohydrate + ", protein=" + protein + "]";
	}
	
	
}
